<?php
// $Id: index.php 167 2012-02-03 10:06:17Z tomqin@gmail.com $

session_start();

define('ARESCMS_PATH', dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR);

require '../system/base.php';

Base::loadLibrary('controller/admin');

if(AdminUser::checkLogin()){
	AdminController::run();
}else{
	AdminController::login();
}

?>